/**
 * store入口文件
 */
import thunk from "redux-thunk" // 导入支持异步插件的thunk
import { composeWithDevTools } from 'redux-devtools-extension'
import { createStore, applyMiddleware } from 'redux' // 导入创建store方法
import reducers from './reducers'
const store = createStore(reducers, composeWithDevTools(applyMiddleware(thunk)))
export default store